//
//  LBHomeButton.m
//  LBWeibo
//
//  Created by 卢玉强 on 16/3/9.
//  Copyright © 2016年 Label. All rights reserved.
//

#import "LBHomeButton.h"

@implementation LBHomeButton

/** UIButton-image位置；
 */
- (CGRect)imageRectForContentRect:(CGRect)contentRect {
        CGRect rect = [super imageRectForContentRect:contentRect];
        rect.origin.x = self.width-rect.size.width;
        return rect;
}

/** UIButton-title位置；
 */
- (CGRect)titleRectForContentRect:(CGRect)contentRect {
        return CGRectMake(0, 0, self.width-self.height, self.height);
}



@end
